package com.itbaizhan.springbootdemo4;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
//SpringBoot启动时扫描注册解标注的web组件  (扫描servlet,filter,listener)
@ServletComponentScan
public class Springbootdemo4Application {

    public static void main(String[] args) {
        SpringApplication.run(Springbootdemo4Application.class, args);
    }

}
